import http from '@/utils/http/axios';
import { RequestEnum } from '@/enums/httpEnum';

enum Api {
  sysUser = '/api/user.json'
}

/**
 * 获取用户列表
 * @param params
 */
export function getSysUser(params) {
  return http.request(
    {
      url: Api.sysUser,
      method: RequestEnum.POST,
      params
    },
    {
      isTransformRequestResult: false,
      isParseToJson: true
    }
  );
}
